//package com.dragon.upms.biz.config;
//
//import org.springframework.context.annotation.Bean;
//import org.springframework.context.annotation.Configuration;
//import org.springframework.security.core.userdetails.User;
//import org.springframework.security.core.userdetails.UserDetailsService;
//import org.springframework.security.provisioning.InMemoryUserDetailsManager;
//
///**
// * @date: 2024/8/15 23:37
// * @author: ybl
//// */
////public class SecurityConfig {
////    @Configuration
////    public class SecurityConfig extends WebSecurityConfigurerAdapter {
////        @Bean
////        public UserDetailsService userDetailsService(){
////            InMemoryUserDetailsManager manager = new InMemoryUserDetailsManager();
////            manager.createUser(User.withUsername("dev").password("123").authorities("p1").build());
////            return manager;
////        }
////    }
////
////}
